package com.ruoyi.eam.doman;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 资产退还对象 eam_return_h
 * 
 * @author ruoyi
 * @date 2024-07-09
 */
public class EamReturnH extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 退还主键编号 */
    private Long returnId;

    /** 1.未审核2.已拒绝3.已审核 */
    @Excel(name = "1.未审核2.已拒绝3.已审核")
    private Long audiStatus;

    /** 退还编码 */
    @Excel(name = "退还编码")
    private String returnCode;

    private EamReturnD eamReturnD;

    private User u;

    private EamLocation eamLocation;

    private EamAsset eamAsset;

    private Dept dept;


    private EamType eamType;

    @Override
    public String toString() {
        return "EamReturnH{" +
                "returnId=" + returnId +
                ", audiStatus=" + audiStatus +
                ", returnCode='" + returnCode + '\'' +
                ", eamReturnD=" + eamReturnD +
                ", u=" + u +
                ", eamLocation=" + eamLocation +
                ", eamAsset=" + eamAsset +
                ", dept=" + dept +
                ", eamType=" + eamType +
                ", returnTime=" + returnTime +
                ", usePerson=" + usePerson +
                ", preparedDate=" + preparedDate +
                ", prepared='" + prepared + '\'' +
                ", isdel=" + isdel +
                '}';
    }

    public EamType getEamType() {
        return eamType;
    }

    public void setEamType(EamType eamType) {
        this.eamType = eamType;
    }

    public EamReturnD getEamReturnD() {
        return eamReturnD;
    }

    public void setEamReturnD(EamReturnD eamReturnD) {
        this.eamReturnD = eamReturnD;
    }

    public User getU() {
        return u;
    }

    public void setU(User u) {
        this.u = u;
    }

    public EamLocation getEamLocation() {
        return eamLocation;
    }

    public void setEamLocation(EamLocation eamLocation) {
        this.eamLocation = eamLocation;
    }

    public EamAsset getEamAsset() {
        return eamAsset;
    }

    public void setEamAsset(EamAsset eamAsset) {
        this.eamAsset = eamAsset;
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    /** 退还日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退还日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date returnTime;

    /** 用户关联字段 */
    @Excel(name = "用户关联字段")
    private Long usePerson;

    /** 制单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "制单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date preparedDate;

    /** 制单人 */
    @Excel(name = "制单人")
    private Long prepared;

    /** 0删除1正常 */
    @Excel(name = "0删除1正常")
    private Long isdel;

    public void setReturnId(Long returnId) 
    {
        this.returnId = returnId;
    }

    public Long getReturnId() 
    {
        return returnId;
    }
    public void setAudiStatus(Long audiStatus) 
    {
        this.audiStatus = audiStatus;
    }

    public Long getAudiStatus() 
    {
        return audiStatus;
    }
    public void setReturnCode(String returnCode) 
    {
        this.returnCode = returnCode;
    }

    public String getReturnCode() 
    {
        return returnCode;
    }
    public void setReturnTime(Date returnTime) 
    {
        this.returnTime = returnTime;
    }

    public Date getReturnTime() 
    {
        return returnTime;
    }
    public void setUsePerson(Long usePerson) 
    {
        this.usePerson = usePerson;
    }

    public Long getUsePerson() 
    {
        return usePerson;
    }
    public void setPreparedDate(Date preparedDate) 
    {
        this.preparedDate = preparedDate;
    }

    public Date getPreparedDate() 
    {
        return preparedDate;
    }
    public void setPrepared(Long prepared)
    {
        this.prepared = prepared;
    }

    public Long getPrepared()
    {
        return prepared;
    }
    public void setIsdel(Long isdel) 
    {
        this.isdel = isdel;
    }

    public Long getIsdel() 
    {
        return isdel;
    }

}
